<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Практика: Исходный файл /home/student/Desktops/Desktop1/doxy/project/src/DecodeGH/apidecoding.cpp</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Практика
   </div>
   <div id="projectbrief">Приложение - описание классов</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.20 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_desktops_2_desktop1_2doxy_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">apidecoding.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_desktops_2_desktop1_2doxy_2project_2src_2_decode_g_h_2apidecoding_8cpp.html">См. документацию.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &quot;apidecoding.h&quot;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<a class="code" href="class_api_decoding.html#a65e93e41b0391648a7513fa0a3d4dd64">ApiDecoding::ApiDecoding</a>()</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;{</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;    <a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a> = <span class="keyword">new</span> <a class="code" href="class_boofer_g_h.html">BooferGH</a>;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;}</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_api_decoding.html#aabb775a11cc9ddb49da83e3665174794">ApiDecoding::add_to_boofer</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y)</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;{</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    <a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#a9e5dc3a863d1f75fbe05a7fdeeb9a9a4">add</a>(x, y);</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;}</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_api_decoding.html#ab98f8e9873b07e6650de0781cba0cec5">ApiDecoding::clear_boofer</a>()</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;{</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    <a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#a750ac63dc1df683d335430fd2ed376e2">clear</a>();</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;}</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;vector&lt;double&gt; <a class="code" href="class_api_decoding.html#a47477b24f584d1c726662d0f2b6f7a4b">ApiDecoding::lagrange_polynom</a>()</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespaceapprox.html#aaf17acf88dbce46e2693919c34f6a5c4">approx::lagrange</a>(&amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#aaa352e93d4f0933b7c5212705af01b20">data_x</a>, &amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#abfaa06f538faffae990172acd7c64b77">data_y</a>);</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;}</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;vector&lt;double&gt; <a class="code" href="class_api_decoding.html#a2a783cb2757fb448c68d09478ad4fa2a">ApiDecoding::split_lagrange_polynom</a>(<span class="keywordtype">int</span> max_pow)</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespaceapprox.html#abe35bfd2086432c0d7deebadb7765f5b">approx::split_lagrange</a>(&amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#aaa352e93d4f0933b7c5212705af01b20">data_x</a>, &amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#abfaa06f538faffae990172acd7c64b77">data_y</a>, max_pow);</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;}</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;vector&lt;double&gt; <a class="code" href="class_api_decoding.html#a276918950c514e65e2f0ae4b5aa2de7e">ApiDecoding::least_squares_polynom</a>(<span class="keywordtype">int</span> max_pow)</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespaceapprox.html#abc3e8a47644df941661a6d93dccef791">approx::least_squares</a>(&amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#aaa352e93d4f0933b7c5212705af01b20">data_x</a>, &amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#abfaa06f538faffae990172acd7c64b77">data_y</a>, max_pow);</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;}</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;vector&lt;double&gt; <a class="code" href="class_api_decoding.html#a6eb7a4b59adb909fcfc454bbab102f6a">ApiDecoding::polynom_with_mistake</a>(<span class="keywordtype">double</span> mistake)</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    vector&lt;double&gt; res;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 1; i &lt;= <a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#aaa352e93d4f0933b7c5212705af01b20">data_x</a>.size(); i++)</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        res = <a class="code" href="class_api_decoding.html#a276918950c514e65e2f0ae4b5aa2de7e">least_squares_polynom</a>(i);</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <span class="keywordflow">if</span>(<a class="code" href="class_api_decoding.html#aa7620c3ae5f7e89e166380399954b62c">approx_mistake</a>(&amp;res) &lt;= mistake)</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;            <span class="keywordflow">return</span> res;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    }</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">return</span> res;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;}</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_api_decoding.html#a6d24fa3a483074088e54c4a8177d05c5">ApiDecoding::squared_deviation</a>()</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;{</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespaceapprox.html#a094281e5f6d9247a2472145b60182d5f">approx::squared_deviation</a>(&amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#abfaa06f538faffae990172acd7c64b77">data_y</a>);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;}</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_api_decoding.html#a96e463b655af86be8904d96ad389caab">ApiDecoding::correlation</a>(vector&lt;double&gt; *polynom_values)</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;{</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespaceapprox.html#abbe51c832748c9e94ae9990d4934cb76">approx::correlation</a>(&amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#aaa352e93d4f0933b7c5212705af01b20">data_x</a>, &amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#abfaa06f538faffae990172acd7c64b77">data_y</a>, polynom_values);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;}</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_api_decoding.html#aa7620c3ae5f7e89e166380399954b62c">ApiDecoding::approx_mistake</a>(vector&lt;double&gt; *polynom_values)</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;{</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespaceapprox.html#a8312135459085eaba94cf40deacf1799">approx::approx_mistake</a>(&amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#aaa352e93d4f0933b7c5212705af01b20">data_x</a>, &amp;<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>-&gt;<a class="code" href="class_boofer_g_h.html#abfaa06f538faffae990172acd7c64b77">data_y</a>, polynom_values);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_api_decoding_html_a6eb7a4b59adb909fcfc454bbab102f6a"><div class="ttname"><a href="class_api_decoding.html#a6eb7a4b59adb909fcfc454bbab102f6a">ApiDecoding::polynom_with_mistake</a></div><div class="ttdeci">vector&lt; double &gt; polynom_with_mistake(double mistake)</div><div class="ttdoc">polynom_with_mistake вызывает метод least_squares_polynom повышая степень, начиная с первой,...</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00033">apidecoding.cpp:33</a></div></div>
<div class="ttc" id="aclass_boofer_g_h_html_a9e5dc3a863d1f75fbe05a7fdeeb9a9a4"><div class="ttname"><a href="class_boofer_g_h.html#a9e5dc3a863d1f75fbe05a7fdeeb9a9a4">BooferGH::add</a></div><div class="ttdeci">void add(double x, double y)</div><div class="ttdoc">add добавляет пару элементов в буфер</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2boofergh_8cpp_source.html#l00010">boofergh.cpp:10</a></div></div>
<div class="ttc" id="aclass_boofer_g_h_html"><div class="ttname"><a href="class_boofer_g_h.html">BooferGH</a></div><div class="ttdoc">BooferGH - класс, хранящий данные ГХ в оперативной памяти программы (буфер)</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2boofergh_8h_source.html#l00008">boofergh.h:9</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a96e463b655af86be8904d96ad389caab"><div class="ttname"><a href="class_api_decoding.html#a96e463b655af86be8904d96ad389caab">ApiDecoding::correlation</a></div><div class="ttdeci">double correlation(vector&lt; double &gt; *polynom_values)</div><div class="ttdoc">correlation - расчёт корреляции между значениями полиномиальной функции и значениями входных данных</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00050">apidecoding.cpp:50</a></div></div>
<div class="ttc" id="anamespaceapprox_html_a094281e5f6d9247a2472145b60182d5f"><div class="ttname"><a href="namespaceapprox.html#a094281e5f6d9247a2472145b60182d5f">approx::squared_deviation</a></div><div class="ttdeci">double squared_deviation(vector&lt; double &gt; *v)</div><div class="ttdoc">squared_deviation расчитывает квадратичное отклонение для входных данных</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2lib_2decoding_2decoding_8cpp_source.html#l00289">decoding.cpp:289</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a65e93e41b0391648a7513fa0a3d4dd64"><div class="ttname"><a href="class_api_decoding.html#a65e93e41b0391648a7513fa0a3d4dd64">ApiDecoding::ApiDecoding</a></div><div class="ttdeci">ApiDecoding()</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00003">apidecoding.cpp:3</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_ab98f8e9873b07e6650de0781cba0cec5"><div class="ttname"><a href="class_api_decoding.html#ab98f8e9873b07e6650de0781cba0cec5">ApiDecoding::clear_boofer</a></div><div class="ttdeci">void clear_boofer()</div><div class="ttdoc">clear_boofer удаляет данные из буфера (BooferGH *boofer). Векторы буфера становятся пустыми</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00013">apidecoding.cpp:13</a></div></div>
<div class="ttc" id="aclass_boofer_g_h_html_aaa352e93d4f0933b7c5212705af01b20"><div class="ttname"><a href="class_boofer_g_h.html#aaa352e93d4f0933b7c5212705af01b20">BooferGH::data_x</a></div><div class="ttdeci">std::vector&lt; double &gt; data_x</div><div class="ttdoc">первый вектор градуировочных характеристик</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2boofergh_8h_source.html#l00012">boofergh.h:12</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a276918950c514e65e2f0ae4b5aa2de7e"><div class="ttname"><a href="class_api_decoding.html#a276918950c514e65e2f0ae4b5aa2de7e">ApiDecoding::least_squares_polynom</a></div><div class="ttdeci">vector&lt; double &gt; least_squares_polynom(int max_pow)</div><div class="ttdoc">least_squares_polynom расчитывает полином методом наименьших квадратов по данным из BooferGH *boofer</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00028">apidecoding.cpp:28</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_afc642956da1901aa97b9bedb519fc2d8"><div class="ttname"><a href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">ApiDecoding::boofer</a></div><div class="ttdeci">BooferGH * boofer</div><div class="ttdoc">буфер для хранения градуировочных характеристик</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2apidecoding_8h_source.html#l00079">apidecoding.h:79</a></div></div>
<div class="ttc" id="anamespaceapprox_html_a8312135459085eaba94cf40deacf1799"><div class="ttname"><a href="namespaceapprox.html#a8312135459085eaba94cf40deacf1799">approx::approx_mistake</a></div><div class="ttdeci">double approx_mistake(vector&lt; double &gt; *x_values, vector&lt; double &gt; *y_values, vector&lt; double &gt; *polynom_values)</div><div class="ttdoc">approx_mistake - расчёт ошибки аппроксимации</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2lib_2decoding_2decoding_8cpp_source.html#l00048">decoding.cpp:48</a></div></div>
<div class="ttc" id="anamespaceapprox_html_abc3e8a47644df941661a6d93dccef791"><div class="ttname"><a href="namespaceapprox.html#abc3e8a47644df941661a6d93dccef791">approx::least_squares</a></div><div class="ttdeci">vector&lt; double &gt; least_squares(vector&lt; double &gt; *x_values, vector&lt; double &gt; *y_values, int max_pow)</div><div class="ttdoc">least_squares расчитывает полином методом наименьших квадратов</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2lib_2decoding_2decoding_8cpp_source.html#l00134">decoding.cpp:134</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_aabb775a11cc9ddb49da83e3665174794"><div class="ttname"><a href="class_api_decoding.html#aabb775a11cc9ddb49da83e3665174794">ApiDecoding::add_to_boofer</a></div><div class="ttdeci">void add_to_boofer(double x, double y)</div><div class="ttdoc">add_to_boofer добавляет пару элементов в BooferGH *boofer;</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00008">apidecoding.cpp:8</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_aa7620c3ae5f7e89e166380399954b62c"><div class="ttname"><a href="class_api_decoding.html#aa7620c3ae5f7e89e166380399954b62c">ApiDecoding::approx_mistake</a></div><div class="ttdeci">double approx_mistake(vector&lt; double &gt; *polynom_values)</div><div class="ttdoc">approx_mistake - расчёт ошибки аппроксимации</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00055">apidecoding.cpp:55</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a2a783cb2757fb448c68d09478ad4fa2a"><div class="ttname"><a href="class_api_decoding.html#a2a783cb2757fb448c68d09478ad4fa2a">ApiDecoding::split_lagrange_polynom</a></div><div class="ttdeci">vector&lt; double &gt; split_lagrange_polynom(int max_pow)</div><div class="ttdoc">split_lagrange_polynom работает аналогично методу lagrange_polynom, но использует только часть узлов ...</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00023">apidecoding.cpp:23</a></div></div>
<div class="ttc" id="aclass_boofer_g_h_html_a750ac63dc1df683d335430fd2ed376e2"><div class="ttname"><a href="class_boofer_g_h.html#a750ac63dc1df683d335430fd2ed376e2">BooferGH::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">clear удаляет данные из буфера. Векторы буфера становятся пустыми</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2boofergh_8cpp_source.html#l00016">boofergh.cpp:16</a></div></div>
<div class="ttc" id="anamespaceapprox_html_aaf17acf88dbce46e2693919c34f6a5c4"><div class="ttname"><a href="namespaceapprox.html#aaf17acf88dbce46e2693919c34f6a5c4">approx::lagrange</a></div><div class="ttdeci">vector&lt; double &gt; lagrange(vector&lt; double &gt; *x_values, vector&lt; double &gt; *y_values)</div><div class="ttdoc">lagrange расчитывает интерполяционный полином Лагранжа</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2lib_2decoding_2decoding_8cpp_source.html#l00202">decoding.cpp:202</a></div></div>
<div class="ttc" id="aclass_boofer_g_h_html_abfaa06f538faffae990172acd7c64b77"><div class="ttname"><a href="class_boofer_g_h.html#abfaa06f538faffae990172acd7c64b77">BooferGH::data_y</a></div><div class="ttdeci">std::vector&lt; double &gt; data_y</div><div class="ttdoc">второй вектор градуировочных характеристик</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2boofergh_8h_source.html#l00014">boofergh.h:14</a></div></div>
<div class="ttc" id="anamespaceapprox_html_abe35bfd2086432c0d7deebadb7765f5b"><div class="ttname"><a href="namespaceapprox.html#abe35bfd2086432c0d7deebadb7765f5b">approx::split_lagrange</a></div><div class="ttdeci">vector&lt; double &gt; split_lagrange(vector&lt; double &gt; *x_values, vector&lt; double &gt; *y_values, int max_pow)</div><div class="ttdoc">split_lagrange работает аналогично методу lagrange, но использует только часть узлов интерполяции так...</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2lib_2decoding_2decoding_8cpp_source.html#l00218">decoding.cpp:218</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a47477b24f584d1c726662d0f2b6f7a4b"><div class="ttname"><a href="class_api_decoding.html#a47477b24f584d1c726662d0f2b6f7a4b">ApiDecoding::lagrange_polynom</a></div><div class="ttdeci">vector&lt; double &gt; lagrange_polynom()</div><div class="ttdoc">lagrange_polynom расчитывает интерполяционный полином Лагранжа по данным из BooferGH *boofer</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00018">apidecoding.cpp:18</a></div></div>
<div class="ttc" id="anamespaceapprox_html_abbe51c832748c9e94ae9990d4934cb76"><div class="ttname"><a href="namespaceapprox.html#abbe51c832748c9e94ae9990d4934cb76">approx::correlation</a></div><div class="ttdeci">double correlation(vector&lt; double &gt; *x_values, vector&lt; double &gt; *y_values, vector&lt; double &gt; *polynom_values)</div><div class="ttdoc">correlation - расчёт корреляции между значениями полиномиальной функции и значениями входных данных</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2lib_2decoding_2decoding_8cpp_source.html#l00300">decoding.cpp:300</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a6d24fa3a483074088e54c4a8177d05c5"><div class="ttname"><a href="class_api_decoding.html#a6d24fa3a483074088e54c4a8177d05c5">ApiDecoding::squared_deviation</a></div><div class="ttdeci">double squared_deviation()</div><div class="ttdoc">squared_deviation расчитывает квадратичное отклонение для данных ГХ</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00045">apidecoding.cpp:45</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_183678fbeee089cc431491ef48af53b7.html">Desktops</a></li><li class="navelem"><a class="el" href="dir_ffb02790d7f1f144fe3d35b54417c8f5.html">Desktop1</a></li><li class="navelem"><a class="el" href="dir_55aaeb8bb53c17700dd585d28461f83a.html">doxy</a></li><li class="navelem"><a class="el" href="dir_61b854c7419c735938733786327d4f1c.html">project</a></li><li class="navelem"><a class="el" href="dir_d6d79dfe7a36821d53e64dfd2c3f76b9.html">src</a></li><li class="navelem"><a class="el" href="dir_8fffeb474c680dfd757dbe742a0ada7a.html">DecodeGH</a></li><li class="navelem"><a class="el" href="_desktops_2_desktop1_2doxy_2project_2src_2_decode_g_h_2apidecoding_8cpp.html">apidecoding.cpp</a></li>
    <li class="footer">Документация по Практика. Последние изменения: Ср 12 Июл 2023 16:10:11. Создано системой <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
